package org.particlethink.response;

import io.swagger.v3.oas.annotations.media.Schema;
import org.particlethink.model.BatchPlan;
import org.particlethink.model.Order;
import org.particlethink.model.PlanMaterial;

import java.util.List;

public class BatchPlanDetailResponse {
    @Schema(description = "批次计划")
    private BatchPlanResponse batchPlan;
    @Schema(description = "物料")
    private List<PlanMaterialResponse> planMaterials;
    @Schema(description = "订单")
    private List<OrderResponse> orders;


    public BatchPlanDetailResponse(BatchPlanResponse batchPlan, List<PlanMaterialResponse> planMaterials, List<OrderResponse> orders) {
        this.batchPlan = batchPlan;
        this.planMaterials = planMaterials;
        this.orders = orders;
    }

    public BatchPlanResponse getBatchPlan() {
        return batchPlan;
    }

    public void setBatchPlan(BatchPlanResponse batchPlan) {
        this.batchPlan = batchPlan;
    }

    public List<PlanMaterialResponse> getPlanMaterials() {
        return planMaterials;
    }

    public void setPlanMaterials(List<PlanMaterialResponse> planMaterials) {
        this.planMaterials = planMaterials;
    }

    public List<OrderResponse> getOrders() {
        return orders;
    }

    public void setOrders(List<OrderResponse> orders) {
        this.orders = orders;
    }
}
